//为了防止某些浏览器因为关闭了缓存，导致抛出异常，无法去获取缓存，这里要try一下代码
let defaultCity = '北京';
try {
  if (localStorage.city != null){
    defaultCity = localStorage.city;
  }

} catch (e) {

}


export default {
  city: defaultCity
}
